package cn.dao;

import java.util.List;

import cn.entity.Ordergoods;
import cn.entity.User;


public interface OrdergoodsDao {
	void insert(Ordergoods ordergoods);
	void delete(Ordergoods ordergoods);
	void update(Ordergoods ordergoods);
	List getAll();
	List query(Ordergoods ordergoods);
	List getOrdergoodsByOrderId(Integer id);
	Ordergoods getOrdergoodsById(Integer id);
	List<Ordergoods> getOrdergoodsBySeller(User user);
}
